import { post } from "@/request/http"
import { apiMediator, pageMediator } from "../../type"
import { RequestBody, ResponseBody } from "../../../type"

/**
 * @name 资源管理-设备资源属性管理-34所S频段双通道光端接收机
 * ---------------
 */
const url = '/backend/resource-property-manage/light-receiver-double-channel-s-thirtyfourth'

const aikoteS70mDualChannelAPI = {
    get: (params: RequestBody<apiMediator>) => post<pageMediator[]>(url + "/get", params),
    update: (params: RequestBody<apiMediator>) => post<ResponseBody<pageMediator>>(url + "/update", params),
    add: (params: RequestBody<apiMediator>) => post<ResponseBody<pageMediator>>(url + "/add", params),
    delete: (params: RequestBody<apiMediator>) => post<ResponseBody<pageMediator>>(url + "/delete", params),
    copy: (params: RequestBody<apiMediator>) => post<ResponseBody<pageMediator>>(url + "/copy", params),
}

export default aikoteS70mDualChannelAPI